/**
 * Created by xingkaihang on 2016/11/28.
 */
'use strict'

import React from 'react'
import { Button } from 'antd'
import Page from '../../../base/Page'
import * as layout from '../../../configs/layout'


export default class PageButton extends Page {
    constructor(props) {
        super(props)
        this.handleAcceptBtnClick = this.handleAcceptBtnClick.bind(this)
    }

    handleAcceptBtnClick(){
        console.log('click...')
    }

    render() {
        return (
            <div>
                <h1>antd按钮组件</h1>
                <Button type="ghost" icon="search" onClick={this.handleAcceptBtnClick}>Search</Button>
            </div>
        )
    }
}

PageButton.defaultProps = {
    title: '按钮组件'
}